# -*- coding: utf-8 -*-
# @Time    : 2021/2/21 下午9:10
# @Author  : tangbing
# @Email   : tangbingb@chanjet.com
import time
import datetime

t = time.time()


# 原始时间数据
def time1():
    return t


# 秒级时间戳
def timeS():
    return int(t)


# 毫秒级时间戳
def timeMs():
    return int(round(t * 1000))


# 微秒级时间戳
def timeNs():
    return int(round(t * 1000000))



#
# t = time.time()
#
# print (t)                       #原始时间数据
# print (int(t))                  #秒级时间戳
# print (int(round(t * 1000)))    #毫秒级时间戳
# print (int(round(t * 1000000))) #微秒级时间戳
